import type { App } from 'vue';
import { Button } from './Button';
import {
   // Need 按钮、输入框、布局
   Button as AntButton,
   Input,
   Layout,
} from 'ant-design-vue';

const compList = [AntButton.Group];

export function registerGlobComp(app: App) {
   compList.forEach((comp) => {
      app.component(comp.name || comp.displayName, comp);
   });
   

   app.use(Input).use(Button).use(Layout);
}
